package com.appleyk.mybatis.annotation;

import com.appleyk.mybatis.v1.registrar.UserMapperBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p>越努力，越幸运</p>
 * 自定义Mapper扫描注解
 * @author appleyk
 * @version V.0.1.1
 * @blob https://blog.csdn.net/appleyk
 * @date created on  10:40 下午 2021/2/23
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) // 作用在雷伤
@Documented
@Import(UserMapperBeanDefinitionRegistrar.class)
public @interface MyMapperScan {
    String basePackage() default "";
}
